//
//  SEMineEntranceCvCell.swift
//  SmartEyeForDoctor
//
//  Created by qdsg on 2021/5/4.
//

import UIKit

struct SEMineEntranceCvCellModel {
    var title: String = ""
    var image: UIImage?
}

class SEMineEntranceCvCell: UICollectionViewCell {

    static let className = "SEMineEntranceCvCell"
    static let reuseId = className

    @IBOutlet weak var imageView: UIImageView!
    @IBOutlet weak var titleLabel: UILabel!

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    func updateCell(model: SEMineEntranceCvCellModel) {
        titleLabel.text = model.title
        imageView.image = model.image
    }

}
